package jp.shuitic.hatebwebhook.twitter.web.client;

import java.io.Serializable;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;


/**
 * ユーザ情報オブジェクト(GWTとの値受け渡し用)
 * @author shuitic
 * @see jp.shuitic.hatebwebhook.twitter.web.HatebWebHookTwitUser
 */
@SuppressWarnings("serial")
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class HatebWebHookTwitUser implements Serializable {
	/**
	 * GAEログインユーザ
	 */
	@PrimaryKey
    @Persistent	
    private String user;

	/**
	 * はてブユーザ名
	 */
    @Persistent	
	private String hatebUserName;
    /**
     * はてブWebHookKey
     */
    @Persistent	
	private String hatebWebHookKey;
    /**
     * Twitterユーザ名
     */
    @Persistent	
	private String twitterUserName;
    /**
     * Twitterパスワード
     */
    @Persistent	
	private String twitterPassword;
    /**
     * 有効かどうか
     */
    @Persistent	
	private boolean enable = true;

    
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getHatebUserName() {
		return hatebUserName;
	}
	public void setHatebUserName(String hatebUserName) {
		this.hatebUserName = hatebUserName;
	}
	public String getHatebWebHookKey() {
		return hatebWebHookKey;
	}
	public void setHatebWebHookKey(String hatebWebHookKey) {
		this.hatebWebHookKey = hatebWebHookKey;
	}
	public String getTwitterUserName() {
		return twitterUserName;
	}
	public void setTwitterUserName(String twitterUserName) {
		this.twitterUserName = twitterUserName;
	}
	public String getTwitterPassword() {
		return twitterPassword;
	}
	public void setTwitterPassword(String twitterPassword) {
		this.twitterPassword = twitterPassword;
	}
	public boolean isEnable() {
		return enable;
	}
	public void setEnable(boolean enable) {
		this.enable = enable;
	}
}
